﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using Zatify.Domain.Data;
using System.ComponentModel.DataAnnotations;

namespace Zatify.WebUI.Models
{
    public class UserProfileBusinessReviewViewModel
    {
        public Int32 BusinessId { get; set; }
        public String BusinessName { get; set; }
        public String BusinessAddress { get; set; }

        public Double? BusinessDistance { get; set; }

        [Required(ErrorMessage = "You must enter review text")]
        [StringLength(300, ErrorMessage = "Review cannot be longer than 300 characters.")]
        public String ReviewText { get; set; }
        
        public Int32 Rating { get; set; }
    }
}